package com.tro.mail.dao.mapper;

import com.tro.mail.dao.entity.MailConsignee;
import com.tro.mail.dao.entity.MailConsigneeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MailConsigneeMapper {
    int countByExample(MailConsigneeExample example);

    int deleteByExample(MailConsigneeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MailConsignee record);

    int insertSelective(MailConsignee record);

    List<MailConsignee> selectByExample(MailConsigneeExample example);

    MailConsignee selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MailConsignee record, @Param("example") MailConsigneeExample example);

    int updateByExample(@Param("record") MailConsignee record, @Param("example") MailConsigneeExample example);

    int updateByPrimaryKeySelective(MailConsignee record);

    int updateByPrimaryKey(MailConsignee record);
}